PokemonPastType

@Serializable
data class PokemonPastType(val generation: Handle.Named<Generation>, val types: List<PokemonType>)(source)

The types a Pokémon had in a previous generation. See: https://pokeapi.co/docs/v2#pokemonpasttype

Parameters

generation

The generation in which the Pokémon had the listed types.

types

The types the Pokémon had in that generation.

Constructors

Link copied to clipboard
constructor(generation: Handle.Named<Generation>, types: List<PokemonType>)

Properties

Link copied to clipboard
Link copied to clipboard